export const state = () => ({
  defaultMenuPath: '/',
  admin: {
    asideWidth: 200,
    headerHeight: 50,
    defaultWidth: 200,
    defaultHeight: 50
  },
  colors: {
    main: ['#009688', '#ffffff']
  },
  collapse: false,
  urlPrefix: '/fc'
})
export const getters = {
  getMenuColor(state) {
    return state.colors.main[0]
  }
}
export const actions = {}

export const mutations = {
  setAdminAsideWidth(state, asideWidth) {
    state.admin.asideWidth = asideWidth
  },
  setDefaultMenuPath(state, path) {
    state.defaultMenuPath = path
  },
  setCollapse(state, collapse) {
    state.collapse = collapse
  }
}
